GtkListBox: Expand the placeholder
authorTimm Bäder <mail@baedert.org>
Fri, 1 Nov 2013 11:30:07 +0000 (12:30 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Nov 2013 15:50:02 +0000 (10:50 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=711255

gtk/gtklistbox.c

index a4ff50a3ab1a16152f09baa7ef80f919b029ca1c..1819794f6b24d8f319b481ce62ea0989c5c081cf 100644 (file)
@@ -2022,7 +2022,7 @@ gtk_list_box_size_allocate (GtkWidget     *widget,
     {
       gtk_widget_get_preferred_height_for_width (priv->placeholder,
                                                  allocation->width, &child_min, NULL);
-      header_allocation.height = child_min;
+      header_allocation.height = allocation->height;
       header_allocation.y = child_allocation.y;
       gtk_widget_size_allocate (priv->placeholder,
                                 &header_allocation);